<?php
/**
 * filter the action before or after action
 * 
 * @author tom.wang<tom.wang.sz@qq.com>
 */
abstract class AbsCatFilter extends AbsCatBase {
	private $filterName;
	abstract public function before($action);
	abstract public function after($action);
	
	/**
	 * get filter name
	 */
	public function getName() {
		if(null === $this->filterName) $this->filterName = get_class($this);
		return $this->filterName;
	}
}
?>